﻿@{
    ViewBag.Title = "化妆学校优秀人才";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@model List<UcAsp.Models.Articles>

<div class="college_silde" style="height:275px;">
      <!---幻灯片--->
          <div id="focus">
			    @(new HtmlString(@UcAsp.WorkFrame.AdvPositions.GetAdvPositions("AD3").AdvHtml));
		    </div>
            <div id="ico"></div>
</div>
<div class="lineblack"></div>
<div class="Talent_title">优秀学员</div>
<div class="talent_recomend">
    <ul>
        @foreach( UcAsp.Models.Articles c in (List<UcAsp.Models.Articles>)ViewData["recommend"] )
        {
        <li>
            <ul>
                <li>
                    <a href="/ShowMessage/@c.ID"><img src="@c.IconUrl" /></a>
                </li>
                <li>
                    <b>@c.Title</b>
                </li>
                <li>
                    @c.Tag
                </li>

            </ul>
        </li>
        }
    </ul>
    <div class="clear"></div>
</div>
<div class="lineblack"></div>
<a name="all" id="all"></a>
<div class="Talent_title">全部学员</div>

<div class="talent_all">
    <ul>
        @foreach( UcAsp.Models.Articles c in Model)
        {
        <li>
            <ul>
                <li>
                    <a href="/ShowMessage/@c.ID"><img src="@c.IconUrl" /></a>
                </li>
                <li>
                    <b>@c.Title</b>
                </li>

            </ul>
        </li>
        }
    </ul>
    <div class="clear"></div>
</div>
<div>

     <div class="pagination"> 
                      <a href="/Talent/1#all" title="First Page">&laquo; 第一页</a>
                     @for (int i = 1; i < int.Parse(ViewData["PageCount"].ToString())+1;i++ )
                     {
                       <a href="/Talent/@i#all" class="number @if (ViewData["PageIndex"].ToString()==@i.ToString())
                                                 {<text>current</text>}" title="@i">@i</a>
                     }
                      <a href="/Talent/@ViewData["PageCount"]#all" title="Last Page">最后一页 &raquo;</a> </div>
                  <!-- End .pagination -->
                  <div class="clear"></div>
</div>